GtkWindow: Fix the down-scaling in icon_from_list()
authorKjell Ahlstedt <kjellahlstedt@gmail.com>
Mon, 13 Nov 2017 11:48:57 +0000 (12:48 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 26 Nov 2017 23:54:59 +0000 (18:54 -0500)
commit7ef5858f8de8bf2fa8e0e0dad0e860f81306a368
tree6728cf57e1a189d67a27b5d5b75b02587720b07e
parent70ff1ef216a21e39db6a56aa6db1440bb474f880
GtkWindow: Fix the down-scaling in icon_from_list()

Must use floating-point division to get the correct scale factors.
cairo_set_source_surface() must be called after cairo_scale().

https://bugzilla.gnome.org/show_bug.cgi?id=790287
gtk/gtkwindow.c